package networked;

import com.jme3.network.serializing.Serializer;
import de.tsajar.es.input.PlayerInputComponent;
import de.tsajar.es.position.PositionComponent;
import de.tsajar.es.position.RotationComponent;
import de.tsajar.es.render.RenderComponent;
import simpleGame.ConnectionAcceptedMessage;
import simpleGame.WalkDirectionMessage;

/**
 *
 * @author Eike Foede
 */
public class Helper {

    public static void initSerializers() {
        Serializer.registerClass(ShootMessage.class);
        Serializer.registerClasses(RenderComponent.class, PositionComponent.class, RotationComponent.class, PlayerInputComponent.class);
        Serializer.registerClasses(WalkDirectionMessage.class, ConnectionAcceptedMessage.class);
        
    }
}

